<?php

namespace CMS\Page\Models;
/**
 * Trida entity pro tabulku stranek (page). 
 *
 * @author David Dusek
 */
use Doctrine\ORM\Mapping as ORM;

/** 
 * @ORM\Entity(repositoryClass="\CMS\Page\Models\PageConfigRepository") 
 * @ORM\Table(name="page_config")
 */
class PageConfig extends \Nette\Object {
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue
     * @var int 
     */
    private $id;

    /**
     * @ORM\Column(type="string", length=100)
     * @var string 
     */
    private $title;
    
    /**
     * @ORM\Column(type="text")
     * @var string 
     */
    private $description;
    
    /**
     * @ORM\Column(type="text")
     * @var string 
     */
    private $keywords;
    
    /**
     * @ORM\Column(type="string", length=255)
     * @var string 
     */
    private $layout;
    
    /**
     * @ORM\Column(type="string", length=100)
     * @var string 
     */
    private $style;
    
    /**
     * @ORM\Column(type="string", length=255)
     * @var string 
     */
    private $icon;
    
    public function getId() {
        return $this->id;
    }
    
    public function setTitle($title) {
        $this->title = $title; 
    }

    public function getTitle() {
        return $this->title;
    }
    
    public function setDescription($description) {
        $this->description = $description; 
    }

    public function getDescription() {
        return $this->description;
    }

    public function setKeywords($keywords) {
        $this->keywords = $keywords; 
    }

    public function getKeywords() {
        return $this->keywords;
    }

    public function setLayout($layout) {
        $this->layout = $layout; 
    }

    public function getLayout() {
        return $this->layout;
    }

    public function setStyle($style) {
        $this->style = $style; 
    }

    public function getStyle() {
        return $this->style;
    }

    public function setIcon($icon) {
        $this->icon = $icon; 
    }

    public function getIcon() {
        return $this->icon;
    }
}
